package springFive;

public class UserService {
	private UserDao userDao;
	private DeptDao deptDao;

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

	public void setDeptDao(DeptDao deptDao) {
		this.deptDao = deptDao;
	}

	public void user() {
		userDao.login();
	}
	
	public void dept() {
		deptDao.DeptDao();
	}
}
